package chainofResponsibility;

/**
 * @Author: Ma JiBin
 * @Email: 1423553596@qq.com
 * @Date: 2018/9/10 16:09
 * @Description:
 */
public class FileLogger extends AbstractLogger {
    public FileLogger(int level) {
        this.level = level;
    }

    /**
     * 打印日志信息方法
     *
     * @param massage 需要记录的信息
     */
    @Override
    public void write(String massage) {
        System.out.println("File::Logger: " + massage);
    }
}
